package cn.ruanyun.backInterface.modules.fadada.service;

import cn.ruanyun.backInterface.common.vo.PageVo;
import cn.ruanyun.backInterface.common.vo.Result;
import cn.ruanyun.backInterface.modules.fadada.dto.PushOneElectronicContractDto;
import cn.ruanyun.backInterface.modules.fadada.dto.PushTwoElectronicContractDto;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.ruanyun.backInterface.modules.fadada.pojo.MyContractSigning;

import java.util.List;

/**
 * 我的合同签署接口
 * @author z
 */
public interface IMyContractSigningService extends IService<MyContractSigning> {


    /**
     * 获取我的合同签署
     * @return MyContractSigning
     */
    Result<MyContractSigning> getMyContractSigning();


    /**
     * 填充合同
     * @param pushTwoElectronicContractDto pushTwoElectronicContractDto
     * @return Object
     */
    Result<Object> signContract(PushTwoElectronicContractDto pushTwoElectronicContractDto);


    /**
     * 乙方手动签署合同
     * @return Object
     */
    Result<Object> partyTwoExtSign();


    /**
     * 甲方手动签署合同
     * @param id id
     * @return Object
     */
    Result<Object> partyOneExtSign(String id);


}